<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>div和span</title>
</head>
<body>
  
  <!-- 块级标签 -->
  <div>我是div 独占一行</div>
  <div>我是div 独占一行</div>

  <!-- 行级标签 -->
  <span>百度</span>
  <span>新浪</span>
  <span>腾讯</span>

</body>
</html>